package org.brisling.oa.domain;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;
import javax.persistence.Transient;

import org.brisling.base.domain.inf.BaseFlowDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 
 * <p>Title: OAConferenceroomApply</p>
 * <p>Description: 会议室申请实体类</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2016年7月8日 下午8:48:11
 */


//定义实体annotation
@Entity


//定义模块代码及数据表名称
@Table(name=ConstSysParam.MODULE_CONFERENCEROOM_APPLY)




public class OAConferenceroomApply extends BaseOADomain implements BaseFlowDomainInf{

	
	
	private Long room_id;
	//会议室名称
	private String room_name;

	//会议室座位数量
	private String seat_number;

	//会议室地点
	private String room_address;

	public String getSeat_number() {
		return seat_number;
	}

	public void setSeat_number(String seat_number) {
		this.seat_number = seat_number;
	}

	public String getRoom_address() {
		return room_address;
	}

	public void setRoom_address(String room_address) {
		this.room_address = room_address;
	}
	
	//会议开始时间
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date start_room_time;
	
	//会议结束时间
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date end_room_time;

	//院办意见  父类（dept_content）
	
	//会议内容
	private String room_content;

	//备注
	private String room_comment;
	
	//会议室使用
	private String room_using;

	//会议结束
	private String room_end;
	
	//会议主题
	private String title;
	
	//会议开始时间
	@Transient
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date start;
	
	//会议结束时间
	@Transient
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date end;

	public String getRoom_name() {
		return room_name;
	}

	public void setRoom_name(String room_name) {
		this.room_name = room_name;
	}

	public Date getStart_room_time() {
		return start_room_time;
	}

	public void setStart_room_time(Date start_room_time) {
		this.start_room_time = start_room_time;
	}

	public Date getEnd_room_time() {
		return end_room_time;
	}

	public void setEnd_room_time(Date end_room_time) {
		this.end_room_time = end_room_time;
	}

	public String getRoom_content() {
		return room_content;
	}

	public void setRoom_content(String room_content) {
		this.room_content = room_content;
	}

	public String getRoom_comment() {
		return room_comment;
	}

	public void setRoom_comment(String room_comment) {
		this.room_comment = room_comment;
	}
	
	public String getRoom_using() {
		return room_using;
	}

	public void setRoom_using(String room_using) {
		this.room_using = room_using;
	}

	public String getRoom_end() {
		return room_end;
	}

	public void setRoom_end(String room_end) {
		this.room_end = room_end;
	}

	public String getTitle() {
		return this.name;
	}	
	
	

	public void setTitle(String title) {
		this.name = title;
	}

	public Date getStart() {
		return this.start_room_time;
	}	

	public Date getEnd() {
		return this.end_room_time;
	}

	public Long getRoom_id() {
		return room_id;
	}

	public void setRoom_id(Long room_id) {
		this.room_id = room_id;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public void setEnd(Date end) {
		this.end = end;
	}	
	
	

}